package xinxin.com.PrototypePatternBasic.ConcretePrototype;

import xinxin.com.PrototypePatternBasic.Prototype.Prototype;

public class ConcretePrototype extends Prototype implements Cloneable {
    public ConcretePrototype(String id) {
        super(id);
    }

    @Override
    public Prototype Clone() {
        Prototype result = null;
        try {
            result = (Prototype) super.clone();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return result;
    }
}
